<form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
   
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red">*</span> {:__('公众号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select data-rule="required" class="form-control selectpicker" multiple="true" name="wechat[]">
            <?php foreach($wechats as $id=>$wxname):?>
                <?php if($id != $curr_wechat_id):?>
                <option value="{$id}">{$wxname}</option>
                <?php endif;?>
            <?php endforeach;?>
            </select>
        </div>
    </div>
    
    
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>